package com.sunda.spmsoversea.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 海外仓收货装箱单箱码关系表
 * </p>
 *
 * @author Wayne
 * @since 2021-10-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OVERSEA_PACKAGE_LIST_BOX")
@ApiModel(value="OverseaPackageListBox对象", description="海外仓收货装箱单箱码关系表")
public class OverseaPackageListBox implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "SPMS唯一自增ID")
    @TableId(value = "AUTO_ID_PACKAGE_BOX", type = IdType.AUTO)
    private Integer autoIdPackageBox;

    @ApiModelProperty(value = "装箱单号")
    @TableField("SAP_PACKAGE_LIST")
    private String sapPackageList;

    @ApiModelProperty(value = "装箱单行号")
    @TableField("SAP_PACKAGE_LIST_ITEM")
    private String sapPackageListItem;

    @ApiModelProperty(value = "箱码")
    @TableField("BOX_NOTE")
    private String boxNote;

    @ApiModelProperty(value = "箱码行号(对应箱码明细表的ITEM字段)")
    @TableField("BOX_NOTE_ITEM")
    private String boxNoteItem;

    @ApiModelProperty(value = "箱码状态(默认0待到货;1已到货;)")
    @TableField("BOX_STATUS")
    private String boxStatus;

    @ApiModelProperty(value = "数据状态(默认0能被SAP更新数据；1禁止更新数据；)")
    @TableField("DATA_STATUS")
    private String dataStatus;

    @ApiModelProperty(value = "箱码到货日期")
    @TableField("ARRIVAL_DATE")
    private String arrivalDate;

    @ApiModelProperty(value = "最后更新人(确认到货人工号)")
    @TableField("UPDATE_USERID")
    private String updateUserid;

    @ApiModelProperty(value = "实际收货工厂")
    @TableField("WERKS_RECEIVE")
    private String werksReceive;

    @ApiModelProperty(value = "实际收货仓库")
    @TableField("WHS_LOCATION_CODE_RECEIVE")
    private String whsLocationCodeReceive;

    @ApiModelProperty(value = "物料编号")
    @TableField("MATERIAL_NO")
    private String materialNo;

    @ApiModelProperty(value = "基本单位发货数量/海外应收基本单位数量")
    @TableField("RECEIVABLE_QTY_BASIC_UNIT")
    private Double receivableQtyBasicUnit;

    @ApiModelProperty(value = "实收基本单位数量")
    @TableField("ACTUAL_QTY_BASIC_UNIT")
    private Double actualQtyBasicUnit;

    @ApiModelProperty(value = "基本单位")
    @TableField("BASIC_UNIT")
    private String basicUnit;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "需求来源号")
    @TableField("DEMAND_NO")
    private String demandNo;

    @ApiModelProperty(value = "需求来源行号")
    @TableField("DEMAND_ITEM")
    private String demandItem;

    @ApiModelProperty(value = "需求申请人")
    @TableField("DEMANDER")
    private String demander;

}
